package org.jeecg.modules.wlhy.hywarningmessage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.wlhy.hywarningmessage.entity.HyWarningMessage;

/**
 * @Description: 告警消息
 * @Author: duanlikao
 * @Date:   2020-12-22
 * @Version: V1.0
 */
public interface IHyWarningMessageService extends IService<HyWarningMessage> {

    HyWarningMessage getMessageByObjectIdAndMessageType(String objectId,Integer messageType);

    Result getMessageByUserId(String userId);

    boolean saveWarningMessage(HyWarningMessage hyWarningMessage);
}
